package com.itheima.d8_extends_demo;

public class Test {
    public static void main(String[] args) {
        // 目标：搞清楚继承的好处。
        Teacher t = new Teacher();
        t.setName("波妞");
        t.setSkill("程序员鼓励师，哄程序员加班~");
        System.out.println(t.getName());
        System.out.println(t.getSkill());
    }
}
